package com.lhy.controller;

import com.lhy.service.GasService;
import com.lhy.service.UserService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.Map;


@RestController
@RequestMapping("gasContent")
public class GasController {

    @Resource
    private GasService gasService;

    //查询所有
    @GetMapping("list")
    public Map<String,Object> selectGasList(){
        return gasService.selectGasList();
    }
}
